package com.xqboss.apps.vo.consumer;

import com.xqboss.apps.enums.consumer.ConsumerTeamMemberTypeEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * @author Administrator
 */
@Getter
@Setter
public class ConsumerTeamVo {

    private Long id;

    @ApiModelProperty("用户id")
    private Long userId;

    @ApiModelProperty("创建人")
    private Long createUserId;

    @ApiModelProperty("队伍名称")
    private String name;

    @ApiModelProperty("队伍头像")
    private String avatar;

    @ApiModelProperty("队伍标签（1_家人 2_朋友 3_同学 4_同事 5_恋人）")
    private Integer tag;

    @ApiModelProperty("队伍增益")
    private BigDecimal teamGain;

    @ApiModelProperty("队伍最大人数")
    private Integer maxNumber;

    @ApiModelProperty("队伍成员数")
    private Integer memberCount;

//    @ApiModelProperty("已参与打卡的人数(已删除)")
//    private Integer punchMember = 0;

    @ApiModelProperty("队伍简介")
    private String description;

    @ApiModelProperty("删除标记 0正常，1解散")
    private Integer delFlag;

//    @ApiModelProperty("昵称")
//    private String nickName;

    @ApiModelProperty("队伍总打卡次数")
    private Integer totalPunch;

//    @ApiModelProperty("上次排名")
//    private Integer lastTop;

    @ApiModelProperty("创建时间")
    private LocalDateTime createTime;

    @ApiModelProperty("队伍等级")
    private Integer rank;

    @ApiModelProperty("登录用户是否在该队伍中(true-是)")
    private Boolean isExistTeam;

    @ApiModelProperty("是否满足队伍升级条件（true-支持）")
    private Boolean isUpgrade;

    @ApiModelProperty(" 成员类型（1_主成员 2_爸爸 3_妈妈 4_配偶）")
    private ConsumerTeamMemberTypeEnum memberType;
}
